/*
 * FeedRepository.java
 * Copyright (c) 2014, 2019, Kiri. 
 * All rights reserved.
 */
package com.onesalt.service;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.onesalt.domain.Feed;

/**
 * @author kiri
 * @date 2015年4月19日
 * @version 1.0
 */
public interface FeedRepository extends PagingAndSortingRepository<Feed, Long>, JpaSpecificationExecutor<Feed> {

	public List<Feed> findByStatusOrderByViewPositionAsc(int status);
}
